package com.sen.rbac.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.sen.rbac.model.SysTenantEntityType;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author esjiang
 */
public interface SysTenantEntityTypeDao extends BaseMapper<SysTenantEntityType> {

    /**
     * 查询需要同步主体类型的用户名
     * @param userType
     * @param entityType
     * @return
     */
    List<String> findNeedAddEntityTypeUserName(@Param("userType") String userType, @Param("entityType") String entityType) ;
}
